package com.unbook.service;

import com.unbook.enums.EVerifyState;

import javax.servlet.http.HttpSession;
import java.io.IOException;

public interface IVerifyService {
    // 生成验证码
    String getCode(String sessionId) throws IOException;
    // 校验验证码
    EVerifyState checkCode(String sessionId, String code);
}
